package alOmrane.jdbc.beans;

public class Organisme {
	
	private String desi_organisme;
	private int id;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public Organisme() {
		super();
	}
	public Organisme(String desi_organisme ){

		super();
		this.desi_organisme = desi_organisme;
		
	}
	public String getDesi_organisme() {
		return desi_organisme;
	}
	public void setDesi_organisme(String desi_organisme) {
		this.desi_organisme = desi_organisme;
	}
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return this.desi_organisme;
	}
	@Override
	public boolean equals(Object o) {
		return (((Organisme)o).getId()==this.getId());
	}

}
